package com.yss.reportworld.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.yss.reportworld.domain.Datasql;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * 函数信息Mapper接口
 *
 * @author yss
 * @date 2023-03-27
 */
@Component
public interface DatasqlMapper extends BaseMapper<Datasql> {
    /**
     * 查询SQL脚本信息
     *
     * @param wrapper
     * @return
     */
    public List<Datasql> queryDatasql(@Param(Constants.WRAPPER) QueryWrapper<Datasql> wrapper);
}
